//"use strict"

lnrr.exports_add([
/**
 *  see the configuration description in "mobile/form.js"
*/
{
	_type: "controller",
	_config: {
		path:"mobile/",
		name:"MobileFields"
	},
	date: function(config) {
		this.config=config;
		return this.Cview();
	},
	textedit: function(config) {
		this.config=config;
		return this.Cview();
	},
	numberedit: function(config) {
		this.config=config;
		return this.Cview();
	},
	textareaedit: function(config) {
		this.config=config;
		return this.Cview();
	},
	select: function(config) {
		this.config=config;
		return this.Cview();
	},
	password: function(config) {
		this.config=config;
		return this.Cview();
	},
	submit: function(config) {
		this.config=config;
		return this.Cview();
	},
	checkbox: function(config){
		this.config=config;
		return this.Cview();
	},
	eval: function(config) {
		var r=config.source[config.key];
		if (config["default"] && (r===undefined || r===null || r==="")) return config["default"];
		return r;
    }

}

]);

